﻿using Abp.Domain.Entities;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace HCD.Entities
{
    /// <summary>
    /// 人员字典
    /// </summary>
    public class StaffDictV : Entity<string>
    {
        [Column("ID")]
        public override string Id { get => base.Id; set => base.Id = value; }
        /// <summary>
        /// 本系统用户名
        /// </summary>
        [Column("USER_NAME", TypeName = "VARCHAR(20)")]
        public string UserName { get; set; }

        /// <summary>
        /// 姓名
        /// </summary>
        [Column("NAME", TypeName = "VARCHAR(20)")]
        public string Name { get; set; }

        /// <summary>
        /// 科室代码
        /// </summary>
        [Column("DEPT_CODE", TypeName = "VARCHAR(20)")]
        public string DeptCode { get; set; }

        /// <summary>
        /// 科室名称
        /// </summary>
        [Column("DEPT_NAME", TypeName = "VARCHAR(60)")]
        public string DeptName { get; set; }

        /// <summary>
        /// 工作类别
        /// </summary>
        [Column("JOB_NAME", TypeName = "VARCHAR(20)")]
        public string JobName { get; set; }

        /// <summary>
        /// 职称
        /// </summary>
        [Column("TITLE_NAME", TypeName = "VARCHAR(20)")]
        public string TitleName { get; set; }

        /// <summary>
        /// 人员编号
        /// </summary>
        [Column("EMP_NO", TypeName = "VARCHAR(20)")]
        public string EmpNo { get; set; }

        /// <summary>
        /// 输入码
        /// </summary>
        [Column("INPUT_CODE", TypeName = "VARCHAR(20)")]
        public string InputCode { get; set; }

        /// <summary>
        /// 用户状态
        /// </summary>
        [Column("STATUS")]
        public int? Status { get; set; }

        /// <summary>
        /// 院区代码
        /// </summary>
        [Column("HOSPITAL_CODE", TypeName = "VARCHAR(20)")]
        public string HospitalCode { get; set; }
    }
}
